import Vue from 'vue'
import App from './App.vue'
import Header from '@/components/Header'
import Footer from '@/components/Footer'
import router from '@/router'
//配置全局组件
Vue.component(Header.name,Header)
Vue.component(Footer.name,Footer)
//引入css文件
import '@/assets/reset.css'

Vue.config.productionTip = false


const vm =  new Vue({
  //调用路由
  router,
  // 调用路由
  render: h => h(App),
}).$mount('#app')
console.log(vm)
